package com.chixing.mapper;

import com.chixing.entity.Department;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DepartmentMapper extends BaseMapper<Department> {
    public Department selectById(int deptNo);
    public List<Department> selectAll();
    public int update(Department dept);
    public int delete(int deptNo);
    public int insert(Department dept);
    public Department selectByloc(@Param("loc") String loc);

}
